home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Format 1997 July
/
macformat52.iso
/
mac
/
Resources
/
ResEdit 2.1.3
/
Examples
/
CExamples
/
BuildEditor
next >
Wrap
Text File
|
1994-07-15
|
755b
|
32 lines
#ResEdit CExample
#This is the script file BuildEditor which builds the c ResEdit editor example
#
# Copyright Apple Computer, Inc. 1986-1990
# All rights reserved.
#
Open "{WorkSheet}"
set start `date -n`
echo Building the ResEdit c editor example
date -t
# Set the directory to the 'CExamples MPW 3.0' folder
directory "{boot}"ResEdit:Examples:CExamples:
# Set the variable to indicate where ResEdit can be found.
# This variable is used by the make file to put the
# example editor into ResEdit.
set buildToName "{boot}ResEdit:ResEdit"
Export buildToName
make -f MakeEditor > temp
temp
delete temp
beep
set end `date -n`
echo " " built in `Evaluate ({end} - {start}) DIV 60` "minutes " `Evaluate ({end} - {start}) MOD 60` "seconds"